package unidad6;

import java.text.DecimalFormat;
import java.text.DateFormat;
import java.util.Date;

public class TestingDataFormat {

	
	public static void main(String [] args)throws Exception{

		DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT);		
		String fecha = "12/11/1987";		
		System.out.println(df.parse(fecha));
		
		System.out.println(df.format(new Date()));
		
		
}
}
	

